import request from '@/utils/request'

// 查询图书列表
export function listBorrow(query) {
    return request({
        url: '/management/borrow/mylist',
        method: 'get',
        params: query
    })
}

export function borrowBooks(ids) {
    return request({
        url: '/management/borrow/returnBooks/'+ids,
        method: 'get',
    })
}
export function renew(ids) {
  return request({
    url: '/management/borrow/renew/'+ids,
    method: 'get',
  })
}
